/**
 * @file imageProcess.h
 * @author your name (you@domain.com)
 * @brief 图像处理相关事务
 * @version 0.1
 * @date 2022-09-17
 * 
 * @copyright Copyright (c) 2022
 * 
 */
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <fstream>
#include <iostream>
#include <vector>
#include <queue>
#include <dirent.h>
#include <unistd.h>
#include "opencv2/opencv.hpp"
#include <thread>
#include <sys/time.h>
using namespace std;
using namespace cv;


//遍历文件夹并以vector的形式返回文件名
int glob_dir_And_push_img_queue(char *dirName);


//画框并保存
void draw_rect(string pic_name, cv::Mat img, cv::Rect r);

Mat select_img_from_368_queue(int nums);

Mat select_img_from_640_queue(int nums);